package chapter04.Example10;
abstract class Animal{
    abstract void shout();
}
class Dog extends Animal{
    void shout() {
        System.out.println("汪汪汪");
    }
}
public class Example10 {
    public static void main(String[] args) {
        Dog dog = new Dog();
        dog.shout();
    }
}
